<?php
	class FormatingNumber{
		public static function currency( $to){
			/*$from='USD';
			$row = 1;
			$handle = fopen("http://download.finance.yahoo.com/d/quotes.csv?s=$from$to=X&f=sl1d1t1ba&e=.csv", "r");
			while (($data = fgetcsv($handle, 1000, ",")) !== FALSE) {
			$num = count($data);
			$row++;
			/*for ($c=0; $c < $num; $c++) {
			echo $data[$c] . "<br />\n";
			}*/

			/*$result=$data[$num-1];
			}
			fclose($handle);*/
			
			return 10000;//$result;
		}
		public static function phone($phone){

		}
	}
?>